package org.ycframework.annotation;

import org.springframework.context.annotation.Bean;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName YcBean
 * @since: 2023/7/27 15:38
 * @auth: kirito
 * @description:
 **/
//在配置类中加在方法上 用于托管第三方类
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface YcBean {
    String[] value() default {};//修改在spring容器中的id
}
